package com.qf.ssm.service;

import com.qf.ssm.entity.PropertyManage;

import java.util.List;


public interface PropertyManageService {

    List<PropertyManage> selectAs(String pmType, String as);

    List<PropertyManage> selectName(String pmType, String pmName);

    List<PropertyManage> selectGroup(String pmType, int pgID);

    int update(PropertyManage propertyManage);

    List<PropertyManage> selectDefaultDisplay();

    int insert(PropertyManage insertPropertyManage);

    int delete(Integer pmId);

    int disable(Integer pmId);

    int enable(Integer pmId);

    int batchDelete(int[] pmIds);

    PropertyManage selectPropertyAndGroup(int pmId);

    int batchInsert(List<PropertyManage> propertyManages);

    int batchDeleteList(List<Integer> pmIds);

    int batchInsertList(List<PropertyManage> propertyManages);
}
